import React, { Component } from 'react';
import MyHeader from '../../components/MyHeader'
import List from '../../components/MyEntry';
import MyBanner from '../../components/MySwipe';
import MyEntry from '../../components/MySecKill';
import '../../components/input.scss'
import bigtu from '../../state/bigtu.gif'
import './home.scss'
class Home extends Component {
    render() {
        return (
            <div>
                <MyHeader />
                <MyBanner />
                <MyEntry />
                <List />
                <img src={bigtu} alt="" className='bigtu' onClick={this.discount} />
            </div>
        );
    }
    handclick = () => {
        this.props.history.push('/Search')
    }
    discount = () => {
        this.props.history.push('/index/sale')
    }
}

export default Home;